from django.contrib.admin import AdminSite
from django.contrib.auth.models import User
from django.contrib.auth.admin import UserAdmin


class YiAdminSite(AdminSite):
    site_header = '命理学'
    site_title = '命理学'
    index_title = '命理学'
    enable_nav_sidebar = False


yi_site = YiAdminSite(name='yi')

yi_site.register(User, UserAdmin)
